package com.ruoyi.service;

import com.ruoyi.domain.CategoryOne;

import java.util.List;
import java.util.Map;

public interface ICategoryOneService {
    List<CategoryOne> list();

    CategoryOne getById(Long id);

    int save(CategoryOne categoryOne);

    int updateById(CategoryOne categoryOne);

    List<Map<String, Object>> selectListCascader();
}
